type TbNews = {
  nid: number
  title: string
  info: string
  hits: string
  source: string
  lastupdate: number
}

type TbBillboard = {
  bid: number
  username: string
  title: string
  content: string
  topIndex: number
  lastupdate: number
}

type TbFootballTeam = {
  ftid: number
  tname: string
  league: string
  intro: string
  champions: number
  cups: number
  fans: number
  goals: number
  gname: string
  created: string
}

type TbSoftware = {
  sid: number
  stid: number
  sname: string
  intro: string
  vendor: string
  type: TbSoftwareType
}

type TbSoftwareType = {
  stid: number
  tname: string
  intro: string
}

type TbMovie = {
  mid: number
  title: string
  intro: string
}

type TbMovieScheduling = {
  msid: number
  mid: number
  hall: string
  startTime: string
  movie: TbMovie
}

type TbGamePublisher = {
  gpid: number
  publisher: string
  intro: string
  created: string
}

type TbGame = {
  gid: number
  publisher: number
  gname: string
  intro: string
  created: string
  tbGamePublisher: TbGamePublisher
}

export type { TbBillboard, TbFootballTeam, TbNews, TbSoftware, TbSoftwareType, TbMovie, TbMovieScheduling, TbGamePublisher, TbGame }
